Normal to Direction
Node Data | |
|---|---|
Display name | |
Normal to Direction | |
Internal name | |
Node_Normal_to_Direction | |
Inheritances | |
| Node_Processor | |
| Node_Normal_to_Direction | |
Inputs | |
Normal | |
surface |
Normal |
float |
Smooth |
Direction | |
rotation |
Offset |
float |
Scale |
bool |
Inverted |
Outputs | |
surface |
Surface Out |
Calculate the angle of a normal in a normal map and render as greyscale.
Properties
| Normal | |
| Normal | The normal map. |
| Smooth | Average normal over radius. |
| Direction | |
| Offset | Rotate the resulting angle. |
| Scale | Scale the angle. |
| Inverted | Inverted angle, useful when working with inverted axis normal. |
Commit History
| 1.22.1.2 |
|
|---|
Related Links
- Base Code: /scripts/node_normal_to_direction/node_normal_to_direction.gml
- Shader [sh_normal_to_direction]: /shaders/sh_normal_to_direction/sh_normal_to_direction.fsh

































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































